package com.chenhy.springbootvuesmbms.mapper;

import com.chenhy.springbootvuesmbms.pojo.Customer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerMapper {

    List<Customer> queryAllCustomer();

    Customer queryCustomerById(int id);

    public List<Customer> fuzzyBillQuery(String condition);

    public int addCustomer(Customer customer);

    public int updateCustomer(Customer customer);

    public int deleteCustomer(int id);

}
